package com.basaji.dao.impl;

import java.util.List;

import com.basaji.dao.ICityDao;
import com.basaji.domain.pojo.City;

public class CityDao extends BaseDao implements ICityDao {

	public List<City> getCities(int parentId, int start, int size)throws Exception {
		return pojoManager.getListByWhere("from City where parentId=? order by id asc", new Object[]{parentId}, start, size, CACHE);
	}

}
